package com.fzn.boot.controller;

import com.fzn.boot.bean.Monster;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: spring-boot
 * 描述：
 * @author: fzn
 * @create: 2022-11-23 14:22
 **/
@RestController
public class HiController {
    @Resource
    private Monster monster;

    @RequestMapping("/monster")
    public Monster monster(){
        return monster;
    }
}